package com.taru.university.service;

import com.taru.university.model.Exchange;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ExchangeService {
    List<Exchange> queryExchange(@RequestParam(value = "pageNum") int pageNum,
                                 @RequestParam(value = "pageSize")   int pageSize);

    List<Exchange> queryExchangeLen();

    Exchange queryExchangeById(String diseaseId);

    void insertExchange(Exchange exchange);

    void deleteExchange(String exchangeId);
}
